// 地图找房接口文件
import request from "@/utils/request.js";

//根据城市标识查询房源数据
export const houseByIdApi = (id) => {
    return request.get("/area/map",{
        params: {
            id
        }
    })
}

//根据城市标识查询房屋具体信息
export const houseDetailByIdApi = (id) => {
    return request.get('/houses',{
        params:{
            cityId:id
        }
    })
}